package org.example.myleet.p474;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(4 == solution.findMaxForm(new String[]{"10", "0001", "111001", "1", "0"}, 5, 3));
        Assert.isTrue(2 == solution.findMaxForm(new String[]{"10", "0", "1"}, 1, 1));
        Assert.isTrue(4 == solution.findMaxForm(new String[]{"1010", "0", "1", "0", "1"}, 2, 2));
        Assert.isTrue(0 == solution.findMaxForm(new String[]{"00", "000"}, 1, 10));
        Assert.isTrue(2 == solution.findMaxForm(new String[]{"10","0001","111001","1","0"}, 1, 1));
    }
}
